/**
 *  Copyright (c) 2012-2016, www.tinygroup.org (luo_guo@icloud.com).
 *
 *  Licensed under the GPL, Version 3.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *       http://www.gnu.org/licenses/gpl.html
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

package org.tinygroup.sdpm.system.dao.constant;

import org.tinygroup.sdpm.system.dao.pojo.SystemMailqueue;
import org.tinygroup.tinysqldsl.base.Column;
import org.tinygroup.tinysqldsl.base.Table;

/**
 * <!-- begin-user-doc --> 邮件队列 * <!-- end-user-doc -->
 */
public class SystemMailqueueTable extends Table {

	public static final SystemMailqueueTable SYSTEM_MAILQUEUETABLE = new SystemMailqueueTable();

	/**
	 * <!-- begin-user-doc --> <!-- end-user-doc -->
	 */
	public static final SystemMailqueueTable SYSTEM_MAILQUEUE_TABLE = new SystemMailqueueTable();

	/**
	 * <!-- begin-user-doc --> 邮件队列ID * <!-- end-user-doc -->
	 */
	public final Column MAILQUEUE_ID = new Column(this, "mailqueue_id");
	/**
	 * 发送给
	 */
	public final Column MAILQUEUE_TOLIST = new Column(this, "mailqueue_toList");

	/**
	 * 抄送给
	 */
	public final Column MAILQUEUE_CCLIST = new Column(this, "mailqueue_ccList");

	/**
	 * <!-- begin-user-doc --> 发送给 * <!-- end-user-doc -->
	 */
	public final Column MAILQUEUE_TO_LIST = new Column(this,
			"mailqueue_to_list");
	/**
	 * <!-- begin-user-doc --> 抄送给 * <!-- end-user-doc -->
	 */
	public final Column MAILQUEUE_CC_LIST = new Column(this,
			"mailqueue_cc_list");
	/**
	 * <!-- begin-user-doc --> 邮箱队列主题 * <!-- end-user-doc -->
	 */
	public final Column MAILQUEUE_SUBJECT = new Column(this,
			"mailqueue_subject");
	/**
	 * <!-- begin-user-doc --> 队列主体 * <!-- end-user-doc -->
	 */
	public final Column MAILQUEUE_BODY = new Column(this, "mailqueue_body");
	/**
	 * <!-- begin-user-doc --> 添加日期 * <!-- end-user-doc -->
	 */
	public final Column MAILQUEUE_ADDED_DATE = new Column(this,
			"mailqueue_added_date");
	/**
	 * <!-- begin-user-doc --> 邮箱队列由谁添加 * <!-- end-user-doc -->
	 */
	public final Column MAILQUEUE_ADDED_BY = new Column(this,
			"mailqueue_added_by");
	/**
	 * 传送时间
	 */
	public final Column MAILQUEUE_SENDTIME = new Column(this,
			"mailqueue_sendTime");

	/**
	 * <!-- begin-user-doc --> 传送时间 * <!-- end-user-doc -->
	 */
	public final Column MAILQUEUE_SEND_TIME = new Column(this,
			"mailqueue_send_time");
	/**
	 * <!-- begin-user-doc --> 队列状态 * <!-- end-user-doc -->
	 */
	public final Column MAILQUEUE_STATUS = new Column(this, "mailqueue_status");
	/**
	 * <!-- begin-user-doc --> 传送失败理由 * <!-- end-user-doc -->
	 */
	public final Column MAILQUEUE_FAIL_REASON = new Column(this,
			"mailqueue_fail_reason");

	public SystemMailqueueTable() {
		super("system_mailqueue");
	}

	public boolean isAutoGeneratedKeys() {
		return true;
	}

	public Class getPojoType() {
		return SystemMailqueue.class;
	}

}
